package com.xiaogao.serviceCms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 小高
 * @createtime 2021-06-24-15:48
 * @description
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.xiaogao"})  // 指定扫描包
@EnableDiscoveryClient // 开启nacos服务
public class CmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(CmsApplication.class,args);
    }
}
